//
//  SRAttributedLabelURL.h
//  ExpressionTest
//
//  Created by Charles on 16/9/15.
//  Copyright © 2016年 Charles. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SRAttributedLabelDefines.h"
#import <UIKit/UIKit.h>
@interface SRAttributedLabelURL : NSObject
@property (nonatomic,strong)    id      linkData;
@property (nonatomic,assign)    NSRange range;
@property (nonatomic,strong)    UIColor *color;

+ (SRAttributedLabelURL *)urlWithLinkData:(id)linkData
                                     range:(NSRange)range
                                     color:(UIColor *)color;


+ (NSArray *)detectLinks:(NSString *)plainText;

+ (void)setCustomDetectMethod:(SRCustomDetectLinkBlock)block;

@end
